import request from '../request'
//获取我的地址信息的接口函数

export const reqMyAddress = ()=>{
  return request({
    url:'/mall-api/userAddress/findUserAddress'
  })
}

export const reqDeladdress =(id)=>{
  return request ({
    url:`/mall-api/userAddress/delete/${id}`
  })
}

export const reqSaveAddress = (userAddress)=>{
  return request({
    method:'post',
    url:"/mall-api/userAddress/save",
    data:userAddress
  })
}